import ElementPlus from 'element-plus'
import { createApp } from 'vue'
import { getSize } from '@/utils/session'

export default function loadComponent (app: ReturnType<typeof createApp>) {
  app.use(ElementPlus, {
    size: getSize()
  })
}
